const fs = require("fs");
//const cookie_path = "file:///E:/AGI/AutoUP/.confidential/bilibili_cookies_std.json";
const cookie_path = "file:///root/AGI/AutoUP/.confidential/bilibili_cookies_std.json";
// fs.readFileSync("file:///E:/AGI/AutoUP/.confidential/bilibili_cookies_std.json")
fs.readFile(new URL(cookie_path), 'utf8', function(err,data){ 
    // Display the file content 
    var cookies = JSON.parse(data)
    for (let cookie of cookies){console.log(cookie)}
    // console.log(data); 
}); 
